package com.smartcar.admin.feign;

import com.smartcar.client.domin.Annex;
import com.smartcar.client.domin.Vip;
import com.smartcar.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author : 高文娜大美女
 * @className : ClientServiceFeign
 * @description : 描述说明该类的功能
 * @createTime : 2023/10/22 19:19
 */
@FeignClient(name = "smartcar-client")
public interface ClientServiceFeign {
    /**
     * 添加附件
     */
    @PostMapping("/insertAnnex")
    public Result insertAnnex(@RequestBody Annex annex);

    /**
     * 添加会员
     */
    @PostMapping("/insertVip")
    public Result insertVip(@RequestBody Vip vip);
}
